//
//  CHSimpleList_L_Title_R_IMG_IMG_TableViewCell.swift
//  CHSimpleUI
//
//  Created by cyptt on 2023/4/18.
//

import UIKit

 public class CHSimpleList_L_Title_R_IMG_IMG_TableViewCell: CHSimpleListCell {


    public  override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    public override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
         super.init(style: style, reuseIdentifier: reuseIdentifier)
         self.setUI()
     }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    override func setUI() {
        super.setUI()
        self.leftImageV.isHidden = true
        self.centerL.isHidden = true
        self.leftL.isHidden = false
        self.rightL.isHidden  = true
        self.rightImageV.isHidden = false
        
        
     

        self.addSubview(self.rightImageView2)
        
        
        self.leftL.snp.makeConstraints { make in
            make.left.equalTo(self.lineView.snp.left).offset(0)
            make.centerY.equalToSuperview()
        }
        self.rightImageView2.snp.makeConstraints { make in
            make.right.equalTo(self.snp.right).offset(-40)
            make.centerY.equalTo(self.rightImageV)
            self.rightImageV2WCons = make.width.equalTo(40).constraint
            self.rightImageV2HCons = make.height.equalTo(40).constraint
        }

    }
     
     
     
     
     
     
   
}
